package com.dcy.decorator.mydecorator;

import com.dcy.decorator.Drink;

/**
 * @Author：dcy
 * @Description: 调味品
 * @Date: 2021/1/22 8:37
 */
public class Chocolate extends Decorator {

    public Chocolate(Drink drink) {
        super(drink);
        setDes("巧克力");
        setPrice(3.0f); // 调味品的价格
    }

}
